package com.liuqi.openai.core.chat;

import com.liuqi.openai.core.shared.Usage;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * openai api /chat/completions 的响应内容
 *
 * @author liuqi
 * @date 2025/7/18
 **/
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ChatCompletionResponse {

    private String id;

    private Integer created;

    private String model;

    private String object;

    private List<ChatCompletionChoice> choices;

    private Usage usage;

}
